home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Workspace / Locus / Source / InfoPanel.m < prev    next >
Text File  |  1995-06-12  |  1KB  |  77 lines

  1.  
  2. /*
  3.     Copyright 1993  Jeremy Slade.
  4.  
  5.     You are free to use all or any parts of the Locus project
  6.     however you wish, just give credit where credit is due.
  7.     The author (Jeremy Slade) shall not be held responsible
  8.     for any damages that result out of use or misuse of any
  9.     part of this project.
  10.  
  11. */
  12.  
  13. /*
  14.     Project: Locus
  15.     
  16.     Class: InfoPanel
  17.     
  18.     Description: See InfoPanel.h
  19.  
  20.     Original Author: Jeremy Slade
  21.     
  22.     Revision History:
  23.         Created
  24.             V.101    JGS Mon Feb  8 22:20:06 GMT-0700 1993
  25.  
  26. */
  27.  
  28. #import "InfoPanel.h"
  29.  
  30. #import "Globals.h"
  31.  
  32.  
  33. @implementation InfoPanel
  34.  
  35.  
  36. + initialize
  37. {
  38.     [self setVersion:InfoPanel_VERSION];
  39.     return ( self );
  40. }
  41.  
  42.  
  43.  
  44. - runInfoPanel:sender
  45. /*
  46.     Does nothing except order the panel to the front, for now.  This can be used to start some animation sequnce, etc.
  47. */
  48. {    
  49.     // Set version number
  50.     [[versionField cell] setStringValue:[Object projectVersionString]];
  51.     
  52.     [self orderFront:sender];
  53.  
  54.     if ( [delegate respondsTo:@selector(infoPanelDidRun:)] ) 
  55.         [delegate perform:@selector(infoPanelDidRun:) with:self
  56.             afterDelay:0 cancelPrevious:YES];
  57.     return ( self );
  58. }
  59.  
  60.  
  61.  
  62. - (BOOL)canBecomeKeyWindow
  63. {
  64.         return ( NO );
  65. }
  66.  
  67.  
  68.  
  69. - (BOOL)canBecomeMainWindow
  70. {
  71.     return ( NO );
  72. }
  73.  
  74.  
  75.  
  76. @end
  77.